
#import "MTKeysMapper.h"

@implementation MTKeysMapper


+ (instancetype)sharedInstance {
    static MTKeysMapper *instance = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        instance = [[self alloc] init];
    });
    return instance;
}

- (instancetype)init {
    self = [super init];
    if (self) {
        _mt_uuid = @"uuid";
        _mt_idfa = @"idfa";
        _mt_idfv = @"idfv";
        _mt_phoneMark = @"phoneMark";
        _mt_phoneType = @"phoneType";
        _mt_systemVersions = @"systemVersions";
        _mt_versionCode = @"versionCode";
        _mt_screenResolution = @"screenResolution";
        _mt_screenWidth = @"screenWidth";
        _mt_screenHeight = @"screenHeight";
        _mt_cpuNum = @"cpuNum";
        _mt_ramCanUse = @"ramCanUse";
        _mt_ramTotal = @"ramTotal";
        _mt_batteryLevel = @"batteryLevel";
        _mt_cashCanUse = @"cashCanUse";
        _mt_cashTotal = @"cashTotal";
        _mt_totalBootTime = @"totalBootTime";
        _mt_totalBootTimeWake = @"totalBootTimeWake";
        _mt_defaultLanguage = @"defaultLanguage";
        _mt_defaultTimeZone = @"defaultTimeZone";
        _mt_isvpn = @"isvpn";
        _mt_debugged = @"debugged";
        _mt_simulated = @"simulated";
        _mt_proxied = @"proxied";
        _mt_charged = @"charged";
        _mt_lastBootTime = @"lastBootTime";
        _mt_screenBrightness = @"screenBrightness";
        _mt_wifiName = @"wifiName";
        _mt_wifiBssid = @"wifiBssid";
        _mt_network = @"network";
        _mt_rooted = @"rooted";
        
        
        _mt_aeskey = @"mtaeskeyMyDevice";
        _mt_aesiv = @"mtaesivMyDevices";
        
        
        _mt_clientLanguage = @"clientLanguage";
        _mt_os = @"os";
        _mt_data = @"data";
        _mt_channel = @"channel";
        _mt_sign = @"sign";
        _mt_clientVersion = @"clientVersion";
        _mt_userId = @"userId";
        _mt_deviceId = @"deviceId";
        _mt_version = @"version";
        _mt_clientTime = @"clientTime";
        _mt_nonce = @"nonce";
        _mt_token = @"token";
    }
    return self;
}
/*
- (NSDictionary<NSString *, NSString *> *)allKeyMappings {
    NSMutableDictionary<NSString *, NSString *> *mappings = [NSMutableDictionary dictionary];
    
    mappings[@"uuid"] = self.mt_uuid;
    mappings[@"idfa"] = self.mt_idfa;
    mappings[@"idfv"] = self.mt_idfv;
    mappings[@"phoneMark"] = self.mt_phoneMark;
    mappings[@"phoneType"] = self.mt_phoneType;
    mappings[@"systemVersions"] = self.mt_systemVersions;
    mappings[@"versionCode"] = self.mt_versionCode;
    mappings[@"screenResolution"] = self.mt_screenResolution;
    mappings[@"screenWidth"] = self.mt_screenWidth;
    mappings[@"screenHeight"] = self.mt_screenHeight;
    mappings[@"cpuNum"] = self.mt_cpuNum;
    mappings[@"ramCanUse"] = self.mt_ramCanUse;
    mappings[@"ramTotal"] = self.mt_ramTotal;
    mappings[@"batteryLevel"] = self.mt_batteryLevel;
    mappings[@"cashCanUse"] = self.mt_cashCanUse;
    mappings[@"cashTotal"] = self.mt_cashTotal;
    mappings[@"totalBootTime"] = self.mt_totalBootTime;
    mappings[@"totalBootTimeWake"] = self.mt_totalBootTimeWake;
    mappings[@"defaultLanguage"] = self.mt_defaultLanguage;
    mappings[@"defaultTimeZone"] = self.mt_defaultTimeZone;
    mappings[@"isvpn"] = self.mt_isvpn;
    mappings[@"debugged"] = self.mt_debugged;
    mappings[@"simulated"] = self.mt_simulated;
    mappings[@"proxied"] = self.mt_proxied;
    mappings[@"charged"] = self.mt_charged;
    mappings[@"lastBootTime"] = self.mt_lastBootTime;
    mappings[@"screenBrightness"] = self.mt_screenBrightness;
    mappings[@"wifiName"] = self.mt_wifiName;
    mappings[@"wifiBssid"] = self.mt_wifiBssid;
    mappings[@"network"] = self.mt_network;
    mappings[@"rooted"] = self.mt_rooted;
    
    return mappings;
}

- (NSString *)mappedKeyForOriginalKey:(NSString *)originalKey {
    NSDictionary<NSString *, NSString *> *mappings = [self allKeyMappings];
    return mappings[originalKey] ?: originalKey;
}
*/

@end
